﻿@namespace ERP.BlazorWams
@using AntDesign
@using AntDesign.ProLayout

@inherits  AntDomComponentBase
<Space Class="" Size="@("24")">

       <SpaceItem>
        <AvatarDropdown Name="@($"{CurrentTenant.Name}/{CurrentUser?.Name}")"
                        Avatar="https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png"
                        MenuItems="@AvatarMenuItems"
                        OnItemSelected="HandleSelectUser" />
    </SpaceItem>
@*    <SpaceItem>
        <HeaderSearch Class="action search"
                      Placeholder="Site Search"
                      DefaultValue="umi ui"
                      Options="DefaultOptions" />
    </SpaceItem>*@
@*    <SpaceItem>
        <AntDesign.Tooltip Title="@("Help")" Placement="@AntDesign.Placement.Bottom">
            <Unbound>
                <span @ref="@context.Current" class="action">
                    <AntDesign.Icon Type="question-circle" Theme="outline" />
                </span>
            </Unbound>
        </AntDesign.Tooltip>
    </SpaceItem>*@
  @*  <SpaceItem>
        <NoticeIcon ClearText="Empty"
                    ViewMoreText="see more"
                    Count="_count"
                    OnClear="HandleClear"
                    OnViewMore="HandleViewMore">
            <NoticeList TabKey="notification"
                        Title="Notifications"
                        EmptyText="You have viewed all notifications"
                        ShowViewMore
                        Data="_notifications" />
            <NoticeList TabKey="message"
                        Title="Messages"
                        EmptyText="You have read all messages"
                        ShowViewMore
                        Data="_messages" />
            <NoticeList TabKey="event"
                        Title="Upcoming"
                        EmptyText="You have completed all to do"
                        ShowViewMore
                        Data="_events" />
        </NoticeIcon>
    </SpaceItem>*@
 
 
     <SpaceItem>
        <ERP.Abp.AspnetCore.Components.WebAssembly.AntDesignTheme.Themes.AntDesignTheme.LanguageSwitch>
        </ERP.Abp.AspnetCore.Components.WebAssembly.AntDesignTheme.Themes.AntDesignTheme.LanguageSwitch>
     </SpaceItem>

@* 
<Dropdown>
    <Overlay>
        <Menu>
            <MenuItem>
                <a target="_blank" rel="noopener noreferrer" href="http://www.alipay.com/">
                 <Icon Type="pause-circle" Theme="outline"/>  退出
                </a>
            </MenuItem>
        </Menu>
    </Overlay>
    <ChildContent>
        <a class="ant-dropdown-link" @onclick:preventDefault>
           <img src="https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png" alt="avatar"> admin
        </a>
    </ChildContent>
</Dropdown>*@
  

</Space>
